The Accordion Pane Component > FAccordionPane.setSize()

 

FAccordionPane.setSize()

Availability

Flash Player 6.

Usage

myAccordion_acp.setSize (width, height)

Parameters

width A number indicating the new width of the component.
height A number indicating the new height of the component.

Returns


Nothing

Description

Specifies the height and width of the component. If the height is not big enough to support the minimum area of 0 pixels for the content area the component will be resized to allow for the 0 pixels.


Example

The accordion_example1.fla example file contains an example of using this method.

The following code sets the size of the component.

myAccordionPane_acp.setSize(200,400);